package com.example.livemall.mapper;

import com.example.livemall.entity.Item;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * 商品详情服务数据层
 */
@Mapper
public interface ProductDetailsMapper {

    @Select("select * from item where id = #{id}")
    Item selectItemById(String id);

}